Skip to content

Option to show undefined proerties and children which are in the node type #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2014

Conversation

dantleech
Copy link
Member

This PR adds support for showing "unfulfilled" child nodes and properties as defined in the node type. Below the "template" properties and child nodes are designated with the @ prefix.

PHPCRSH > ls -L3
+--------------------------+------------------+---------------------------------------------------------+
| Europe2014/              | DTLTravel:voyage |                                                         |
| | 2014/                  | DTLTravel:year   |                                                         |
| |   06/                  | DTLTravel:month  |                                                         |
| |     05/                | DTLTravel:day    |                                                         |
| |     @*                 | DTLTravel:day    |                                                         |
| |     jcr:primaryType    | NAME             | DTLTravel:month                                         |
| |     jcr:createdBy      | STRING           | admin                                                   |
| |     jcr:created        | DATE             | 2014-06-06T07:43:45+00:00                               |
| |     jcr:lastModifiedBy | STRING           | admin                                                   |
| |     jcr:lastModified   | DATE             | 2014-06-06T07:43:45+00:00                               |
| |   @*                   | DTLTravel:month  |                                                         |
| |   jcr:primaryType      | NAME             | DTLTravel:year                                          |
| |   jcr:createdBy        | STRING           | admin                                                   |
| |   jcr:created          | DATE             | 2014-06-06T07:43:44+00:00                               |
| |   jcr:lastModifiedBy   | STRING           | admin                                                   |
| |   jcr:lastModified     | DATE             | 2014-06-06T07:43:44+00:00                               |
| | @*                     | DTLTravel:date   |                                                         |
| | jcr:primaryType        | NAME             | DTLTravel:voyage                                        |
| | startDate              | DATE             | 2014-04-21T00:00:00+00:00                               |
| | jcr:createdBy          | STRING           | admin                                                   |
| | jcr:created            | DATE             | 2014-06-04T20:54:13+00:00                               |
| | jcr:lastModifiedBy     | STRING           | admin                                                   |
| | jcr:lastModified       | DATE             | 2014-06-06T14:01:37+00:00                               |
| | description            | STRING           | Santander, Mnt Ventoux, Mnt Blanc, Pass di Simplone,... |
| | @endDate               | DATE             |                                                         |
| Morroco2012              | DTLTravel:voyage |                                                         |
|   @*                     | DTLTravel:date   |                                                         |
|   jcr:primaryType        | NAME             | DTLTravel:voyage                                        |
|   jcr:createdBy          | STRING           | admin                                                   |
|   jcr:created            | DATE             | 2014-06-05T18:59:26+00:00                               |
|   jcr:lastModifiedBy     | STRING           | admin                                                   |
|   jcr:lastModified       | DATE             | 2014-06-05T19:00:07+00:00                               |
|   description            | STRING           | Starting from Paris, went south thorugh the Massive ... |
|   @endDate               | DATE             |                                                         |
|   @startDate             | DATE             |                                                         |

@dantleech dantleech changed the title Option to "shadow" properties Option to show undefined proerties and children which are in the node type May 19, 2014
@dantleech
Copy link
Member Author

@todo: Add behat test, add option to disable.

@dantleech dantleech added this to the v1.0 milestone Jun 8, 2014
- Behat tests
- Now must be enabled explicitly
dantleech added a commit that referenced this pull request Jun 9, 2014
Option to show undefined proerties and children which are in the node type
@dantleech dantleech merged commit df2d11e into master Jun 9, 2014
@dantleech dantleech deleted the show_template branch June 9, 2014 12:08
dantleech added a commit that referenced this pull request Jun 9, 2014
Option to show undefined proerties and children which are in the node type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant